package com.pcbly.web.business.depart;

import java.util.List;

import com.pcbly.web.bean.system.DepartBean;
import com.pcbly.web.bean.system.DepartChildBean;
import com.pcbly.web.business.BaseService;

public interface DepartService extends BaseService<DepartBean> {

	List<DepartBean> findDepartBeans() throws Exception;

	List<DepartChildBean> findDepartChildBeansByParentId(String parentId)
			throws Exception;

	List<DepartBean> findDepartBeansByParentId(String parentId) throws Exception;

	void saveDepartBean(DepartBean bean) throws Exception;

	void updateDepartBean(DepartBean bean) throws Exception;

	void deleteDepartBeanById(String id) throws Exception;

	DepartBean getDepartBeanById(String id) throws Exception;
}
